package com.rebecca.demo_01.bean;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


@ApiModel(description = "用户信息实体")
public class User {

    @ApiModelProperty(value = "id",dataType = "String")
    private String id;

    @ApiModelProperty(value = "姓名",dataType = "String")
    private String name;

    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }
}
